<%@include file="../../context.jsp"%>

<?xml version="1.0" encoding="ISO-8859-1" ?>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Annual Data</title>
<%@include file="../common_Admin_imports.jsp"%>
<%@include file="../common_loding_imports.jsp"%>
</head>
<body>
	<div class="main_wrapper">
		<div class="header_wrapper">
			<div class="container-fluid">
				<div class="header_inner_wrapper clearfix">
					<div class="row-fluid">
						<div class="header_left span4">Edit Annual Data</div>
						<jsp:include page="../common_link.jsp" />
					</div>
				</div>
				<div class="content_wrapper">
					<div class="container-fluid">
						<div class="row-fluid">
							<div class="input_box_wrapper">
								<div class="input_box_wrapper_text_aery">
									<form:form method="POST" commandName="annualShareData"
										action="${pageContext.request.contextPath}/admin/annualsharedata/edit/${annualShareData.id}.html"
										class="form-horizontal">
										<div class="input_box_wrapper_left span6">
											<div>${message}</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Company
													:</label>
												<div class="controls">
													<form:select itemValue="id" itemLabel="name"
														path="company.id" items="${companyMap}">
													</form:select>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Year
													Code :</label>
												<div class="controls">
													<form:hidden path="year" />
													<label class="date_field">${annualShareData.year}</label>
												</div>
												<div class="controls">
													<form:errors path="year" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Net
													Profit :</label>
												<div class="controls">
													<form:input path="netProfit" var="balance" value="" />
												</div>
												<div class="controls">
													<form:errors path="netProfit" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">No Of
													Shares :</label>
												<div class="controls">
													<form:input path="numberOfShares" />
												</div>
												<div class="controls">
													<form:errors path="numberOfShares" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Revenues
													:</label>
												<div class="controls">
													<form:input path="revenues" />
												</div>
												<div class="controls">
													<form:errors path="revenues" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Average
													no of share :</label>
												<div class="controls">
													<form:input path="aveShareOfShare" />
												</div>
												<div class="controls">
													<form:errors path="aveShareOfShare" cssClass="error"></form:errors>
												</div>
											</div>
											<input class="btn btn-inverse save" type="submit"
												value="Save" />
										</div>
										<div class="input_box_wrapper_right span6">
											<div class="control-group">
												<label class="control-label" for="inputEmail">EBITDA
													:</label>
												<div class="controls">
													<form:input path="ebitda" />
												</div>
												<div class="controls">
													<form:errors path="ebitda" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Dividend
													:</label>
												<div class="controls">
													<form:input path="dividents" />
												</div>
												<div class="controls">
													<form:errors path="dividents" cssClass="error"></form:errors>
												</div>
											</div>

											<div class="control-group">
												<label class="control-label" for="inputEmail">Closing
													price :</label>
												<div class="controls">
													<form:input path="closingPrice" />
												</div>
												<div class="controls">
													<form:errors path="closingPrice" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Recurring
													Profit :</label>
												<div class="controls">
													<form:input path="recurringProfit" />
												</div>
												<div class="controls">
													<form:errors path="recurringProfit" cssClass="error"></form:errors>
												</div>
											</div>
											<div class="control-group">
												<label class="control-label" for="inputEmail">Devidend
													of share :</label>
												<div class="controls">
													<form:input path="dividenOfShare" />
												</div>
												<div class="controls">
													<form:errors path="dividenOfShare" cssClass="error"></form:errors>
												</div>
											</div>
										</div>
									</form:form>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>